package com.ihr360.shared.exceptionmail.service.fallback;

import com.ihr360.shared.exceptionmail.entity.ExceptionRecord;
import com.ihr360.shared.exceptionmail.service.ExceptionMailService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Created by Eric on 2018/4/10/010.
 */
@Component
public class ExceptionMailServiceFallBack implements ExceptionMailService {
    private static final Logger logger = LoggerFactory.getLogger(ExceptionMailServiceFallBack.class);

    @Override
    public void send(ExceptionRecord record) {
        logger.error("异常信息邮件发送失败");
        return;
    }
}
